package com.baturu.vin.dfpv.dal.dao;

import com.baturu.vin.dfpv.dto.DfpvChildGroupsDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: chenjiahao
 * @Time: 2018/8/30
 */
public interface DfpvChildGroupsDAO {
    @Select({"SELECT id cid, enGroupName, groupCode, groupId, description des, groupName " ,
            "FROM dfpv_childgroups",
            "WHERE sid = #{sid}",
    })
    List<DfpvChildGroupsDTO> queryChildGroupsBySid(@Param("sid") String sid);
}
